StrWidth XFCN returns the length in pixels of a string, according to its text attributes.
SYNTAX
StrWidth(<text>[<font>[,<size>[,<style(s)>]]]
PARAMETERS
<text> is the string to mesure. It cannot exceed 255 chars.
The following params are optional. Default is Chicago 12 plain.
<font> is the font name.
<size> is the font size.
<style(s)> is a comma separated list of one or more items containing the style(s) of the text. (plain, bold, italic, outline, underline, shadow, condense, extend)
Using "!" and "?" as parameter will return an online help (resp. copyright and syntax).
Free for non-commercial use. Use in commercial software subjected to prior acknowledgement and licensing from the author, reachable at the following network addresses: